.TH std::front_insert_iterator::front_insert_iterator 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::front_insert_iterator::front_insert_iterator \- std::front_insert_iterator::front_insert_iterator

.SH Synopsis
   explicit front_insert_iterator( Container& c );            \fI(until C++20)\fP
   constexpr explicit front_insert_iterator( Container& c );  \fI(since C++20)\fP

   Initializes the underlying pointer to the container to std::addressof(c).

.SH Parameters

   c - container to initialize the inserter with

   Defect reports

   The following behavior-changing defect reports were applied retroactively to
   previously published C++ standards.

     DR    Applied to          Behavior as published              Correct behavior
                      default constructor was provided as     removed along with the
   P2325R3 C++20      C++20                                   requirement
                      iterators must be default_initializable
